﻿/// <reference path="~/ExtClient/ext/ext-all-debug-w-comments.js" />

Ext.Loader.setConfig({
    enabled: true,
    'app': '/ExtClient/app',
    disableCaching:true                //为true时在Get请求时会增加_dt参数，使得Controller的Action必需要有_dt才能匹配
});
Ext.Ajax.disableCaching = false;

Ext.form.Field.prototype.msgTarget = 'side';            // turn on validation errors beside the field globally



Ext.application({
    enableQuickTips: true,
    name: 'app',
    appFolder: '/ExtClient/app',    
    autoCreateViewport: false,
    controllers: ['Login'],

    launch: function () {
        Ext.QuickTips.init();
        
        var win = this.getView('loginwin').create();
        win.show();
    }
});